package net.xi.dmhome.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jxhu
 * @since 2021-02-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dm_forecast")
public class Forecast implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 用户id
     */
    private Integer userid;

    /**
     * 腰围
     */
    private Integer waistline;

    /**
     * 性别（男，女）
     */
    private String sex;

    /**
     * 收缩压
     */
    private Integer sbp;

    /**
     * 体重
     */
    private Double weight;

    /**
     * 身高
     */
    private Double height;


    /**
     * 年龄
     */
    private Integer age;

    /**
     * 糖尿病家族史
     */
    private Integer relatives;

    /**
     * 创建时间
     */
    private LocalDateTime createtime;

    /**
     * 更新时间
     */
    private LocalDateTime updatetime;

    /**
     * 是否删除
     */
    @TableLogic //逻辑删除
    private Integer isdel;


}
